package com.iszhangsc.backup.repository;

import com.iszhangsc.backup.model.ScheduledCron;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * <p>
 * 定时任务CRON
 * </p>
 *
 * @author zhangshichang
 * @date 2020-12-20 14:31
 */
public interface ScheduledCronRepository extends JpaRepository<ScheduledCron, Long> {

    ScheduledCron findTop1ByCode(String code);

}
